<?php
	header("Content-Type: text/html;charset=utf-8");
	include("../_judge.php");
	include("../../function/function.php");
	
	$id = chkstr(trim($_REQUEST['id']));
	if(!is_numeric($id)){
		echo erro("ID错误");
	}
	
	$news_sql = "select * from kboy_order where uid=$id";
	$news_rows = mysql_query($news_sql);
	$news_nums = mysql_num_rows($news_rows);
	if($news_nums > 0){
		$news_rs = mysql_fetch_array($news_rows);
		$uid = $news_rs['uid'];
		$user_qq_openid = $news_rs['user_qq_openid'];
		$user_weibo_openid = $news_rs['user_weibo_openid'];
		$user_style = $news_rs['user_style'];
		$user_leader = $news_rs['user_leader'];
		$user_email = $news_rs['user_email'];
		$user_phone = $news_rs['user_phone'];
		$user_sex = $news_rs['user_sex'];
		$user_face = $news_rs['user_face'];
		$user_nickname = $news_rs['user_nickname'];
		$user_qq = $news_rs['user_qq'];
		$user_msn = $news_rs['user_msn'];
		$user_tel = $news_rs['user_tel'];
		$user_country = $news_rs['user_country'];
		$user_localprov = $news_rs['user_localprov'];
		$user_localcity = $news_rs['user_localcity'];
		$user_localdist = $news_rs['user_localdist'];
		$user_homeprov = $news_rs['user_homeprov'];
		$user_homecity = $news_rs['user_homecity'];
		$user_homedist = $news_rs['user_homedist'];
		$user_birthday = $news_rs['user_birthday'];
		$user_constellation = $news_rs['user_constellation'];
		$user_income = $news_rs['user_income'];
		$user_blood = $news_rs['user_blood'];
		$user_figure = $news_rs['user_figure'];
		$user_industry = $news_rs['user_industry'];
		$user_maxim = $news_rs['user_maxim'];
		$user_address = $news_rs['user_address'];
		$user_vipstime = $news_rs['user_vipstime'];
		$user_vipetime = $news_rs['user_vipetime'];
		$user_lastip = $news_rs['user_lastip'];
		$user_lasttime = $news_rs['user_lasttime'];
		$user_hit = $news_rs['user_hit'];
		$user_about = $news_rs['user_about'];
		$user_km = $news_rs['user_km'];
		$user_activetime = $news_rs['user_activetime'];
		$user_ischeck = $news_rs['user_ischeck'];
		$user_regtime = $news_rs['user_regtime'];
	}else{
		echo erro("该信息已经被删除或不存在");
	}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?= $adminweb_titles ?></title>
<link href="../css/style.css" rel="stylesheet" type="text/css" />
<script>if (top.location != parent.location||self.location==top.location){top.location.replace('../login/admin.php')}</script>
</head>

<body>
  <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#999999">
    <tr>
      <td width="100" align="right" bgcolor="#EFEFEF">会员类型：</td>
      <td bgcolor="#EFEFEF">
	  	<?php
				if($user_leader == 1){
					echo "领队";
				}else{
					echo "会员";
				}
		?>
	  </td>
      <td width="100" align="right" bgcolor="#EFEFEF">CVA：</td>
      <td bgcolor="#EFEFEF">
	  	<?php
				if($user_style == 1){
					echo "CVA";
				}else{
					echo "无";
				}
		?>
	  </td>
    </tr>
    <tr>
      <td align="right" bgcolor="#EFEFEF">Email：</td>
      <td bgcolor="#EFEFEF"><?=$user_email?></td>
      <td align="right" bgcolor="#EFEFEF">手机号：</td>
      <td bgcolor="#EFEFEF"><?=$user_phone?></td>
    </tr>
    <tr>
      <td align="right" bgcolor="#EFEFEF">性别：</td>
      <td bgcolor="#EFEFEF">
	  <?php
	  		if($user_sex == 1){
				echo "男";
			}elseif($user_sex == 0){
				echo "女";
			}else{
				echo "保密";
			}
	  ?>
	  </td>
      <td align="right" bgcolor="#EFEFEF">昵称：</td>
      <td bgcolor="#EFEFEF"><?=$user_nickname?></td>
    </tr>
    <tr>
      <td align="right" bgcolor="#EFEFEF">MSN：</td>
      <td bgcolor="#EFEFEF"><?=$user_msn?></td>
      <td align="right" bgcolor="#EFEFEF">电话号：</td>
      <td bgcolor="#EFEFEF"><?=$user_tel?></td>
    </tr>
    <tr>
      <td align="right" bgcolor="#EFEFEF">人生格言：</td>
      <td bgcolor="#EFEFEF"><?=$user_maxim?></td>
      <td align="right" bgcolor="#EFEFEF">详细住址：</td>
      <td bgcolor="#EFEFEF"><?=$user_address?></td>
    </tr>
    <tr>
      <td align="right" bgcolor="#EFEFEF">上次登录时间：</td>
      <td bgcolor="#EFEFEF"><?=$user_lasttime?></td>
      <td align="right" bgcolor="#EFEFEF">个人简介：</td>
      <td bgcolor="#EFEFEF"><?=$user_about?></td>
    </tr>
    <tr>
      <td align="right" bgcolor="#EFEFEF">徒步公里：</td>
      <td bgcolor="#EFEFEF"><?=$user_km?></td>
      <td align="right" bgcolor="#EFEFEF">活动次数：</td>
      <td bgcolor="#EFEFEF"><?=$user_activetime?></td>
    </tr>
    <tr>
      <td align="right" bgcolor="#EFEFEF">注册日期：</td>
      <td bgcolor="#EFEFEF"><?=$user_regtime?></td>
      <td align="right" bgcolor="#EFEFEF">&nbsp;</td>
      <td bgcolor="#EFEFEF">&nbsp;</td>
    </tr>
</table>
</body>
</html>
